The article you cite lists "encouraging, offering or soliciting sexual conduct over the Internet with anyone under 18" as a crime.
That is NOT what was being discussed, however.
The subject was (is) charging someone with a crime when they THINK they are chatting with a minor but are really chatting with a law enforcement officer.