Fix for when there are no categorical variables.