No acknowledgment heretofore taken to any deed or any writing executed by a company, or for the benefit of a company, shall be held to be invalid by reason of the acknowledgment having been taken by a notary or other officer duly authorized to take acknowledgments who, at the time of taking the acknowledgment, was a stockholder, an officer, or both, in the company which executed the deed or writing, or for the benefit of which the deed or writing was executed, but who was not otherwise interested in the property conveyed or disposed of by such deed or writing; and such deed or other writing, and the recordation thereof, shall be valid in all respects as if this section had been in force when it was executed.
Code 1919, § 5209; 1926, p. 340.