Adding has and has not criteria to NodeUtils so it can compile query nodes intothe proper criteria