Fixed bug where read data was indexed by a numpy integer and it wasn't handled properly.