Fix regression of empty top-level main menu parents

(e.g. indicating a drop down exists when no child menu items are present)