Fix PreOrderIteratorImpl::operator++(), InOrderIteratorImpl::operator++() and PrintVisitor.