PROV-1058 Fix for problem that would cause duplicate search results in some cases where perform_item_level_access_checking is enabled