What happens here is that even though the name generated from the subtree is almost correct, it has a number of white spaces (because of different elements belonging to different nodes) that break the readability.