Queues and competence.
The queues are typically produced deliberately, in districts that do not typically align with the party controlling the elections board. Those people on the elections board are quite competent at assuring that only the "right" people are elected.
Think Occam once in a while, not just Hanlon.