Added NE, GE, LE to where clauses