Fixed parenthesis for NOT constraint

Added parenthesis for NOT constraint.