Anyone who thinks that delegates to a political convention must act like elected representative are smoking some illegal substance. They are only bound to vote as prescribed for a candidate on the first or in some cases second ballot. The convention delegates vote on their own rules via their own conscious.
Most delegates are bound through the first ballot, a handful are bound through the second, Florida is bound through the third ballot, and one or two states require a majority vote to change from the original candidate. In California, each candidate chooses their own delegates after the primary election.