Don't call leave() on nodes that were not entered()