Fixing search results order