Fixes formatting of search results