Added the new(ish) submit-failed state to restart checks

Restarting with a submit-failed task was erroneously treated as an error condition.