fixed issues were incomplete traversals cause PathTraversalContext to accumulate the wrong versions.