More from the article:
Acorn said they were prepared to prove Estradas innocence during her initial hearing even bringing a teacher along to testify on her behalf but prosecutors filed for preventive detention and, therefore, the judge couldnt hear the case.
Not sure how that works, but it's in the article.
Seems like the lawyer could have filed a writ of habeas corpus at least.
Supposedly in New Mexico there has to be a hearing within 5 days. In the article I read New Mexico is one of the states with a better system for pretrial detention because they have to have a hearing so quickly- as opposed to others who don’t have such safeguards.