They may have foresaw it but they did little if anything to prevent it. They lamented that political parties would probably be the downfall, and here we are...
The prevention is literally in the Constitution! Do you think other branches of government would be deferring to the Supreme Court if it weren't spelled out that they must?