ff_gen_search: Fix finding the maximum timestamp in a really small file