The Probability of Majority Inversion in a Two-stage Voting Systems with Three States