Make sure traverseWithNoPathInfo is always called with a Node.