fixed no search results logic