Actually, the funny thing about this is that Hillary actually won the most votes, but Bernie supporters packed the delegate nominating process and got more delegates. Sound familiar?
The chair intervened to ensure that the person who got the most votes got the most delegates.