Make sure that current and default languages are *always* within the set of available languages.
Merge pull request #1598 from bcipolli/1596_maybe

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