Some female inmates fell pregnant and contracted sexually transmitted infections after 2020 assaults.