Fix bug where last column of data might not get filled in, if the first row had less than a later row number of elements.