Error when editing completed surveys

@amaglior, would you mind trying this workaround that has been discussed previously?