Fixed a case-sensitive comparator which generated invalid SQL.

The result of the bad code would be that idx1 was always 6 instead of 7 and the last character of the first column name was chopped off, causing Oracle to throw ORA-00904: Invalid identifier.

This would happen for an Single<T> expressions with a Where predicate.