Fixed search results appearing twice