#3 Filter iterator implementation.