Fix demand calculation.