Ah, gotcha -- I think `filter_pairs` should return an iterable and callers should coerce to list if they need that (ie, test should be updated).