[Parser] Fixed OFL for-loop issue