[FEATURE] Auto Retire Disabled Tags (or make it an option)

I’ve just discovered we had 930 tags that were accessible from the Trend tag browser that are all disabled which were confusing operators. For the most part, these are part of UDTs and were disabled at the instance level due to the instances not having these tags, however they made they way into the sql history tag table since they were created with the tags enabled.

IMO, it would make sense for tags that are made disabled to be also retired from history. I understand that this might not suit all circumstances, so maybe this could be made as a gateway config option?

Idea: