Optimize the filter flow to skip the search bar filter if no search text has been provided