Make sure that current and default languages are *always* within the set of available languages.