Fix invalid not-equals operator