Deal with deleting tag data when an item is deleted.