Fixed bug that let through duplicate search results