Removes duplicates from search results