Election System Quotes
A few weeks before, the computers of the Democratic National Committee were hacked and thousands of private and confidential e-mails were made public. The security experts claimed that the hackers came from Russia. The released e-mails caused the Chair of the DNC and several other officers to resign. This worked to Hillary Clinton's disadvantage.
This is not just a theoretical possibility. It has occurred several times. The latest was on the 1990 election where Gore got half a million more votes than George W. Bush, but Bush became President.
Most of the Congressional Districts had become so gerrymandered that only one party could win. So whoever wins the primary election for the controlling party, will almost certainly win the general election.