No, it's just that attorneys won't take such a risk if the penalties are too harsh. Also, the State and the electorate are just as complicit as the prosecutors what it comes to sending innocent people to prison, and they should be punished as well (Having to pay for restoring the person's life in the free world after 10's of years in prison.)
Americans are bloodthirsty: lock 'em up and throw away the key. When the elected district attorneys have pictures of handcuffs and leg irons on their election posters, what does that tell you? (Said election poster seen in Fresno County, California).
You present that almost like it would be a bad thing.