Improve search results display conditions