preventing integrityerrors when a tag exists in another case variation