If any officer whose signature or countersignature appears on the bonds or coupons ceases to be such officer before the delivery of the bonds to the purchaser, his signature or countersignature shall nevertheless be valid for all purposes, the same as if he had remained in office until the delivery of the bonds.