Remove duplicates from search result