ComparisonCondition ccond = (ComparisonCondition)condition;
if (ccond.getOperation() == Comparison.NE)
continue; // ranges are better suited for !=
ExpressionNode otherComparand = matchingComparand(indexExpression, ccond);
if (otherComparand != null) {
Comparison op = ccond.getOperation();
if (otherComparand == ccond.getLeft())
op = ComparisonCondition.reverseComparison(op);
index.addInequalityCondition(condition, op, otherComparand);
foundInequalityCondition = true;
}