Comey has always worked for Obama and there lies his loyalties. He still is working for him as his book proves.
If he was certain that Donald Trump was going to be elected, I suspect he might have had Hillary Clinton dragged out of the Democratic National Convention in handcuffs.