Avoid crash if model has no constraints