The prison system is highly privatized. Prisons with more people in them make more money and have a higher return on investment. Prisons that have repeat visitors can out compete prisons that do not. Therefore, there is a selection towards not keeping an inmate out of prison in the future.
I hate how tinfoil hat-y this sounds, and I'm certainly no expert, so feel free to offer alternatives