Fix crash when loading an array of items

Loading arrays of items was crashing because each iteration `iterator.next()` was being called twice.