Fixed an issue where lang code was removed from generated routes

... for the default language, routes with a lang code inside did not
contain the lang for default language after matching whereas they should