Fixed bugs related to the new version of the knp-menu.