You are wrong. In the Senate, a convicted Senator can still vote if present, but the party leadership can change their committee status. And technically, absent their expulsion from Congress, a member can serve while in jail and run for re-election, unless they are convicted of treason.