The software is appropriately emulating the bias of the US judical system
The jury-based court decisions in the US judical system are essentially a lottery scheme, and studies have proven that even decisions by US judges without juries are regularly biased. Just upholding traditions! Americans are used to being screwed by the US judical system, and this scheme ensures the wealth of 1.35+ million of US lawyers. Fixing that system would be like declaring independence from the British government, obviate more than half of the current lawyers, and reduce the income of the leftovers to 25% of their current earnings. Revolution!
The US presidential elections could be easily fixed, by making it a direct vote. But by traditional focusing of campaigns on the "swing states", manipulation by the two parties is easier and more "cost-efficient" for campaigners. But this historic architectural flaw can be just as easily (ab-)used by outsiders ...
There are no "good" flaws. Neither in elections, nor in crypto, nor in judical systems.