But when he was about to be released, deputies at the jail discovered two outstanding warrants, one involving a misdemeanor drug-related case in St. Lucie County, and the other, a sex charge from South Carolina.