Corrected bug on Redo auto.
Corrected bug on Redo auto.


Former-commit-id: 4f31ec0f96204bfe5ec699330e413a6861f9e8c4
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox