Fix change language with shadowed locale

When trying to change language from tr8n overlay
it fails because locale from params takes precedence
over selected language from the form.
This filter checks the shadowing and makes the switch.