Avoid redirect loops by always setting a language code

When clearing both language and project selections this will ensure
'projects' is set as a language and therefore will redirect to /projects/.