This should be fixed with this commit on the theme component:
https://github.com/discourse/discourse-category-badge-styles/commit/790adaae99db9101edde6dd66253710edccbbdad