Fixed bug with error staying after retrying a submission.