When using a module like https://www.drupal.org/project/entity_reference_integrity, if a user were to make a term reference another term, test would fail as the current methodology would remove the referenced entity after the referee, which causes the integrity check to fail. This simply reverses the order in which they're removed, resolving this issue.
When using a module like https://www.drupal.org/project/entity_reference_integrity, if a user were to make a term reference another term, test would fail as the current methodology would remove the referenced entity after the referee, which causes the integrity check to fail. This simply reverses the order in which they're removed, resolving this issue.