Avoid deleting and re-creating tags when using set()