xpp: Fix a logical not being applied to the wrong operand