This seems like a problem for the prison, not the inmates. In general, the prison software being faulty means the prison should just hand-calculate this as needed. The inmates should still be able to be released as appropriate.
If it costs the prison 10x normal costs to do calculations by hand.. well, that's the cost of business.
If it costs the prison 10x normal costs to do calculations by hand.. well, that's the cost of business.