Reverse the n-ary logxor change. The behaviour is weird in a set