make search work and make the GetLocalitySortedVersionSet take a optional filter to exclude items from the set