Added extra logging to resetSearchResults