Fixed [#29743] extra <li> was generated when adding menu item heading