Improved performance for single-filter queries