OPT: fixed issue #311
OPT: fixed issue #311

Former-commit-id: e3d162d17358f469b5b8a7eef75ad896b3e4d62a
Former-commit-id: 9c0a492f8f6ee3c2b4c22ff5ca819913f2441ff7
3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox