Not everyone in jail has committed a crime. You can find plenty of stories of people who didn't break any laws but spent quite some time in jail.
I know "most" are criminals but to use that broad brush stroke and say they ALL are invites bad karma, IMO. In other words, that could be you someday.
How about that mormon mother of 7 sitting in a mexican jail because pot was found strapped under her bus seat, (coming home from a funeral in mexico) and the cops stopped the bus and "found" the pot and she was arrested and is in jail despite video showing her boarding the bus with no such package. Despite mexican cops saying a passenger couldn't have secured the package the way it was without some obvious effort.
Think that doesn't happen here. You're wrong.
Watch "Murder on a Sunday Morning," an academy award winning documentary. You may be surprised that not everyone languishing in jail is guilty.
My personal feeling is that you don't set up the jail around the few who might be innocent but anyone found NG or eventually released because of jacked up evidence or cops (Debra Milke) should be compensated. In a big way. But my other personal feeling is you don't assume those who haven't been tried are necessarily guilty, imagine being that person.