[GEOT-4194] Bad indexOf on applyLimitOffset in SQLServerDialect.java