Final votes in the Primary Election were not tallied until Wednesday afternoon in Perry County.
A voting machine malfunction at the Walkertown precinct did not allow the clerk's office to count all of the votes on Tuesday.
On Wednesday, a court order was issued so they could open the machine up and tally the votes in the final precinct.
Those votes would not have changed the winners of the races, but Perry County Clerk Haven King says it's important that every vote is accounted for.
"We've got men and women dying everyday to give us the freedom to vote, so it's very important that every vote cast is counted. That's the reason we took the action here as the election commission," said King.
The final vote totals can be found below.
Republican Candidate for Commonwealth's Attorney:
John R. Hansen 382
Cordell "Buddy" Williams 267
Democratic Candidate for Commonwealth's Attorney:
Teresa Combs Reed 1418
Christopher J. Paul 770
Democratic Candidate for Circuit Court Clerk:
Charles Ira Patterson 934
Roger D. Collins 759
Deborah C. Manis 730