find_in_batches should not mutate its argument