How bending the rules can hurt democracy