Fix bug in selecting specific regressors