Improvemet for ops

* Added == and != for logical values

* keep .is.agg values for simple operations (i.e. db.obj v.s. a
primitive data type)