The majority of immigration officers who faced charges were accused of sex offenses or crimes against children.