So she probably was alright with the law (short stay) but not with the system if I understand correctly. Still, wouldn't her detention be arbitrary and thus fall foul of habeas corpus principles which I have no doubt are in the US law?
That's for a court to determine, and I'm sure it takes several weeks at least for something like this to make its way through the court system.