The allegations concerning both congressmen concerned interactions with former staffers.