Bug fix when minc_read is used to only read a header.