fixes  "//@todo refactor this compare logic, do routeAcceptedParameters ...

fixes  "//@todo refactor this compare logic, do routeAcceptedParameters and routeRequiredParameters to same format" in MenuFactory.php line 146

faced this problem when was doing a multilanguage site