User blog comment:Mattgb1/I want my badges (sniff)/@comment-5014364-20160618164402

It only works on pages that specifically have those category tags on them the moment you make the edit.

For example, "Crannogmen" was tagged with "Peoples" not "Culture and Society" at the time, and thus wouldn't count towards a "Culture and Society" badge (it probably should in the future, we're revising stuff).

Similarly, "Sexposition" was originally under "Production" category but got shifted to something else.

It's automatically generated, it only does what we tell it to do; if it doesn't see that a page is already in the category designated for a badge it wouldn't know better.