Improved search results by filtering out duplicates and querying the database for versions on quicksearch