Fixed issue #10798: Flag sectionIndex is not used for "menu of subpages + sections"