Fix negate boolean logic on assignment