Added a clearing function to the search results