if(left instanceof VarRef) {
final Variable referent = ((VarRef) left).getValue();
if(firstBindingExpr instanceof PathExpr) {
final PathExpr bindingPathExpr = (PathExpr) firstBindingExpr;
if(firstBindingVar == referent) {
cmpOpr.setLeftOperand(new ContextItemExpr(bindingPathExpr.getType()));
bindingPathExpr.addPredicate(cmpOpr);
innerModified = true;
replaceVarRef = firstBindingVar;
break inner;
} else if((firstBindingType == Binding.FOR_CLAUSE)