Fixed a bug where search results were still showing duplicates.