Try to fix bugs with min/max generalization