Custom RecursiveCallbackFilterIterator callback