fixes #2732 (language in db but not in CMS_LANGUAGES)

fixes #2732