A violation by a public officer or election officer of laws relative to providing ballot boxes, blank forms and other apparatus or to the care and preservation thereof, or to the manner of canvassing and counting votes, shall not invalidate any record or copy of a record or certificate made by a city, precinct or town clerk, or affect the title of a person declared to be elected to office.
Mass. Gen. Laws ch. 54, § 131