Fix for `textprocessing.split_random`.