Allow mapFilterReduce to specify stop predicate