Error when reviewing span and relation annotations in 'review' recipe

When reviewing existing entity span and relation annotations in prodigy using the review recipe, changing an entity label messes up all of the relations in the entire document. I verified that this is not a UI error and persists across disk writes by saving the annotation and loading it up in another review session.

It appears this causes an "off by one" error with the token ids as all relations in the document are not deleted but are shifted to an incorrect token following the entity label change.

Is there a simple way to intervene in the recipes internals to fix this?

Hi! Could you share some more details about your process (e.g. how the annotations were created) and an example of the underlying JSONL produced by the review interface?