feature #2699: Fix index type in string loop