Check out this thread - it’s on sum to zero constraints, but may be relevant for the sum to 1 constraint.