Fixes for foreach statement offsets.