Fix typo in CMS_LANGUAGES validation logic.