History tag table sqlth_te retired and fingerprint columns

We’ve had the same problem and we noticed that this post: [What Causes a History Tag to be Retired - #2 by PGriffith] doesn’t seem to be relevant anymore. In our project tags only get retired if the history is true and the tag gets deleted. If you disable the tag or turn history off and then delete the tag the retire column will stay null forever.

Which is a problem for us since the tag browser tree component will show these non-retired tags. Has anyone found a solution for this? Since now our only option seems to be to manually retire each tag in the database by adding a random number to the retire column.