So everything is fine as long as you can fit the facts into “how the law is written?”
If so, why are you complaining about the Comey prosecution? 18 USC 1001 is extremely broadly written: https://www.law.cornell.edu/uscode/text/18/1001
> (a) Except as otherwise provided in this section, whoever, in any matter within the jurisdiction of the executive, legislative, or judicial branch of the Government of the United States, knowingly and willfully… (2) makes any materially false, fictitious, or fraudulent statement or representation
It basically makes any lie about “a matter within the jurisdiction … government” into a felony. No surprise that even a blue state grand jury indicted Comey for this.