Authorities say those being freed are not involved in violent crimes or had been detained by mistake .