fix(engine): fix variable queries with NOT_EQUALS operator

- reworks the query logic such that NOT_EQUALS is matched like EQUALS
  but with the overall condition negated

related to CAM-2939