Fixed a crash in REGRESSION when there were no non-missing values.