Ballots containing a defect described in section 49.101 shall be counted for the candidate or candidates for such offices named in the nomination papers, certificate of nomination, or certified abstract.