Fix a bug in 'Not' predicate.