BOISE, Idaho (AP) — A former Idaho juvenile corrections nurse accused of having sex with inmates has had all charges against her dropped.

The Idaho Statesman reports that all four felony charges against Valerie Lieteau were dismissed Thursday after she successfully complete a lie-detector test. Lieteau had been scheduled to go to trial next week for sexual battery of a child and sexual contact with an inmate.

Prosecutors had requested polygraph testing due to concerns about lack of physical evidence in the case. Polygraph results are not admissible in court, but they are commonly used to help build or resolve cases.

Prosecutors say Lieteau had agreed to plead guilty if she failed the polygraph tests.

Lieteau's attorney, Jon Cox, says justice has been served and that Lieteau maintained her innocence from the beginning.