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


Former-commit-id: eed865678921a8d388d249d21ed3053dd570cea2
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox