iterator: use advance to implement FilterMapIterator