Fixing search results for folders.