I was doing some genuinely strange stuff in the dataset handling here.