Fix negated variables