check dshape on boolean operators too