Optimize search: Know if the user is typing a search term and resist clearing the filter, also reduce the delayed timing gradually as the search term gets longer