The Large Effects of a Small Win: How Past Rankings Shape the Behavior of Voters and Candidates