add $not to constraints