Implement skip_while instead of filter.