The McHenry County State’s Attorney’s Office is calling out the Illinois Safe-T Act after the Second District Appellate Court overturned a decision by a McHenry County judge who decided to detain a man accused of molesting a child.

In an appellate court decision handed down Friday, the Second District Appellate Court reversed an order by McHenry County Judge Michael Chmiel to detain Arturo Martinez-Ortiz, 58, of Riverside California, in McHenry County jail while awaiting trial.