Bring back filtering of arbitrary sets.