Fix up packed datasets