Fix separation of categorical and numeric variables.