Bugfix: correctly use defined min&max generalization