OPT: fixed issue #312
OPT: fixed issue #312

Former-commit-id: 5288d577d1ea2ba610407d3ec825f03d708ed627
Former-commit-id: 2c58add0771ffc3803e8f43f03c11dda800d93b3
3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox