Hotfix: Retrying a legacy workflow in error state incorrectly completes the workflow