When wherequery has any of its subquery against ObjectTable (which will be for all the queries against ObjectTable), the first query that should be processed is the one against the ObjectTable. The dimension of the result returned by DbQueryUnit for ObjectTable and MessageTable are different. Therefor before doing the AND operation make sure the ObjectTable results are the first subquery to be processed. Closes-Bug: 1730193
When wherequery has any of its subquery against ObjectTable (which will
be for all the queries against ObjectTable), the first query that should
be processed is the one against the ObjectTable. The dimension of the
result returned by DbQueryUnit for ObjectTable and MessageTable are
different. Therefor before doing the AND operation make sure the
ObjectTable results are the first subquery to be processed.
Closes-Bug: 1730193

Change-Id: Ie4f529784f20df158355eb9d0c26f0130bfbe44f

eonpatapon/contrail-controller,rombie/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller