Change negation to statement using !=