Fix boolean operators.