When It Matters Most, Voters Penalize Undemocratic Candidates