Fix problems associated with LINEAR REGRESSION and splits