Correct the logic here

There's no way this could execute correctly for anything but the Senate.
Not sure how it got to this state.