ICO reprimand follows failings that risked wrongful detention, with a temporary correction process taking more than a year to arrive