Fixed bugs related to the dev-master version of the knp-menu