Support simple not(path) predicate.