A federal judge in Chicago says a corrections department ban on telephone contact between a mom with a sex-crime conviction and her daughter should be lifted.

The Chicago Daily Law Bulletin says Tuesday’s ruling is in a lawsuit filed for Robin Frazier and four others. It argues automatic, blanket bans on all contact by sex offenders with all children sometimes defy common sense.

Frazier was convicted in Marion County in 2014 of having sex at a Salem hotel with a 17-year-old girl.

Frazier was an authority figure as the girl’s counselor, making the encounter a crime under Illinois law.

Defense attorney Adele Nicholas says a “generalized fear” sex offenders will offend again isn’t justification enough to ban phone contact in individual cases.