Bugfix multiclass classification.