FilterIterator with predicate