This is why Intake-and-Release biometrics are gaining popularity in jail management circles...
Escaped Inmate Captured As Investigation Continues At The Chatham County Jail (Old link dead)
The Georgia jail that released the wrong prisoner ordinarily uses fingerprint biometrics to ensure that the correct person is being set free. The system, however, was not in use at the time.
UPDATE: There is still video available of the story.