Wrong inmate released from jail