An investigation into inappropriate text messages sent to a confidential informant led to a Comal County Sheriff’s deputy’s demotion. The Guadalupe County Sheriff’s Office knew about the messages but hired him anyway, records reviewed by KSAT Investigates show.