Fix concurrent modification error.
https://github.com/koush/ion/issues/244