Replicated the filtering action on the collection.