Cancelled Contests: Mediating Election Disputes Through Institutions