Fixed the search functionality in host