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

Former-commit-id: ac09075e2b7da41720cb655a8f1c994cc34d85eb
Former-commit-id: a6820dfeef75122ba7a4677b5f503bf2cc16731e
3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox