In for loop, separating the variables in if condition is not the way to compare the conditions (If comma separated only the last specified condition gets executed). This is not desirable, because terator it can point to results from MessageTableIndex queries and  jt can point to resultss from ObjectTable and their dimensionality  is not same and this can result in crash. Closes-Bug:#1675598
In for loop, separating the variables in if condition is not the
way to compare the conditions (If comma separated only the last
specified condition gets executed). This is not desirable, because
terator it can point to results from MessageTableIndex queries and
 jt can point to resultss from ObjectTable and their dimensionality
 is not same and this can result in crash.
Closes-Bug:#1675598

Change-Id: I8af6ef7166900ea4705715fd317d2655d2c3b984
(cherry picked from commit 742650719518b26b6d9bf7e4d43d8599ae5ff498)

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