Fixed setCurtailment method