QUOTE(ubershank @ Aug 17 2019, 18:06)

There seems to be a bug where if a gallery hasn't been assigned a language and there is the Chinese Dress tag, it flags it up as Chinese even when it isn't. If a language has been set, then it prioritises the language tag. I've included a screenshot with both examples
Replace all
CODE
name.includes('
with
CODE
name.includes('language: