Fix getting of search result