Fixed a bug in the fix for routes with a parameter named "locale"