Fix hiding the search results without any prior actions