I think it’s a bug, and I expect it’s a simple fix, but I don’t really understand the new categories. (And I personally wouldn’t submit code when I feel I don’t fully understand.)
There’s also the question of whether the state of your database comes from some other bug which also needs a fix.
As this topic has only had three contributors, a new bug report topic might be useful - if a moderator wishes to merge or recategorise, they can always do that.