The men thought they were communicating with underage girls online.