[Resolver] Don't call source.search twice when finding set