If the ballots in the container exceed the number of names on the pollbooks of persons who voted on paper ballots, all ballots shall be replaced in the ballot container. Then, after the container is well shaken, an officer of election, being blindfolded, shall withdraw a sufficient number of ballots to reduce the number of ballots left in the container to the number of such names on the pollbooks. The drawn ballots shall be set aside and not counted.
Va. Code § 24.2-662