Primaries and voter eligibility