inversion in buildout modes
according buildout tests
Merge pull request #9310 from makinacorpus/fix-invmode

Fix invmode