Duplicate categories delete highlight state on tags and ...

Fixes TP #4574