Fixed failing tests after adding hierarchy level sort order for search results.