Detention rates falling in armed forces