Fix menu max level.
Fix PHP warning in Menu block.