now cleans up orphaned tags when creating a report