BUG: address several particular cases
BUG: address several particular cases

Former-commit-id: 43ad40974ad54725b345c538a548eb3e034198ee [formerly ac09075e2b7da41720cb655a8f1c994cc34d85eb]
Former-commit-id: a6820dfeef75122ba7a4677b5f503bf2cc16731e
Former-commit-id: 0eef869f4765b27ae438a3cd330f55b455804a14
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox