Fixed the search result issue