Improve ui search filter performance.