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