Issue #249 - added discharging of inmates