How to prevent this election nonsense from happening again

In terms of the mechanics and operations of conducting an election were it normal times, much less the current environment, a resounding yes.

But …

That state election officials are identified as representing a political party is a fundamental flaw.

Yet results would suggest that institutional respect for the electoral process triumphed.