Added support for cleaning orphaned tags.