TraversalMatcherBuilder handles global queries