Whenever there is an election of any kind the result is almost always flawed, as people rarely vote for something without being influenced by their prejudices.
For example, take the presidential election. The hope is that we will elect the most qualified person in the country to be our president.
When picking a president, one should consider defending the Constitution and the economy first, as every thing else is a subdivision of these two.
Defending our country is only possible if we have the money to support our military. We can only build and maintain our infrastructure if we have the money to pay for it. Sustainable Social programs again depend on our ability to pay for them.
These are the things every intelligent person must base their vote on, as everything else is only possible with freedom and money. Yes, all elections are flawed, and when things work out it is only because of luck.