Invalidate derived data when parent record is deleted
Derived data (records with ancestry/parent) inherit the legal tags from the parent record(s). So when at least one of the parent records is deleted, then the children records are no longer valid. Without this step, there are records with invalid legal tags (or no legal tag) still exists in the system.