Bill to prevent illegal for voting passed but was 262 to 143