* lisp/ox-texinfo.el (org-texinfo--get-node): Ensure the upper element get the shorter node. Considering the following document: * Headline ** Headline the level 1 headlines get "Headline" node and the other one "Headline (1)".