Got wrong row number of dataset viewer

fixed. Thanks again for the investigation!