Computer error impacts thousands of voters before primary