Corrected bug on skipping after redo-ing.
Corrected bug on skipping after redo-ing.


Former-commit-id: 8d25765e8215df39ecc2b1afe1fe99f2b9d39c58
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox