Your two sentences are both grammatically correct but mean slightly different things.
Your first sentence implies that though you yourself may not be deceived into thinking that something is a joke, you understand that somebody could be. This has the same meaning as the sentence CBT wrote.
Your second sentence implies that you understand that someone is attempting to deceive you specifically into thinking that something is a joke.