Fix some bugs with the cross validation code