Optimization for filter-nothing case