fix for BZ 860452: custom tags are now being deleted when associated ent.ity is deleted