as you already touched this, could you add a check that the indices in all folds cover all indices of the original labels? Thats just another few lines here....would be very helpful