BUGFIX Don't loop over first menu when including sidebar (fixes #8166)