A. If an error or omission has occurred in the printed ballot, the district court, upon petition of any voter, may order the county clerk to forthwith correct the error or supply the omission, or immediately show cause why the error should not be corrected or the omission should not be supplied.

B. If any error occurs in the printing on the ballot of the name of any candidate or in the designation of the office for which he is nominated, the ballot shall nevertheless be counted for such candidate for the office for which he was nominated as shown by the certificate of nomination.