This is a good question. Some states do require by law that superdelegates must vote in conjunction with how the citizens voted in the applicable election. Part of the problem is also the fact that some states have the rule that all the delegate votes goes to the candidate who won the most votes. It should be that each candidate receive only the percentage of delegates in conjunction with the percentage they won. This is how it should be throughout every state.
There are states that have this type of vote allocation in place while others do not. The will of the people are best served by allowing votes to be allocated based on percentages received. This should be incorporated into the laws governing the voting system within each state. This will only happen if the voters complain.