Fixes to the IOArray::resize() method not setting the capacity of the array correctly.