Set previous submission to pending after unsubmit

An attempt at fixing #1181. 

The test doesn't seem right. Is it safe to assume that the first submission is 'superseded'?