Fixes the displaying of search results