And as to what the prisoners did or didn't do after release - we don't incarcerate people based on what they may do in the future.
We emphatically do incarcerate people based on what they may do in the future; that's the focus of the incapacitation theory of punishment [1].
We even do so solely based on what they may do in the future, that's pretty much the main support given by members of Congress for the repeated blocking of the closure of Guantanamo.
What I think you mean to say is we should not incarcerate people based solely on what they may do in the future, though, again, that's a point that is obviously not accepted as an undebatable moral axiom, again, by reference to the overt justifications given by members of Congress for blocking the closure of Guantanamo.