Fix randomization of split.