avoid recursing path traversal on bnodes.