Fix a loc issue with for-NSRange loops