Fix a bug in reading data asking for a superset of the available segment
This PR fixes a corner-case bug in reading data when the [start, end)
request is a superset of the available data. In that case the data were automatically padded with nan
which is bad, rather than just returning what we could.