Storage: fixed bug where dynamic sizing list would cause for-loop to end
prematurely, switched to using iterators instead