Resolve issue in TJTreeNode.

We should stop walking the tree when strlen == 0 regardless of whether or not isEnd is true.