fixed handling of not-equals;