Fixing slight bug in language config code.