Fix parameter inversion in 'not in' domain inversion

issue3849
review5131002
(grafted from 5097d1681816d55f1a828b1af9c5996c4aea2ec2)

--HG--
branch : 2.2
extra : source : 5097d1681816d55f1a828b1af9c5996c4aea2ec2
Prepare release 2.2.13

--HG--
branch : 2.2
Added tag 2.2.13 for changeset 572fb60c9ad3

--HG--
branch : 2.2
Increase version number

--HG--
branch : 2.2