Leaders at the Bullitt County Detention Center said they made a mistake and released an inmate who should still be behind bars.