Removed unnecessary variable |index| in nav-main-menu item iteration function