History stopped working on recreated tag

So in order to keep the data clean the only option we have is completely removing all db references to tags no longer needed. Recently we recreated some but the history won’t work. Is there some hidden data I need to nuke in order to get the history working again? Creating new tags works. I suppose I can write scripts to recreate the data in sqlth_te if needed, if they don’t keep track of the id’s somewhere. Thanks

k, so I figured out if I reboot the gateway the history works and the sqlth_te table has it’s data filled in, is there a way to get this working without a gateway reboot? Thanks