Fix an infinite loop in factor_multivariate.