Section 34. Any recordable instrument purporting to affect an interest in real estate executed by any person or persons who, in the records of the registry of deeds for the county or district in which the real estate lies, are or appear to be the trustees of a trust shall be binding on the trust in favor of a purchaser or other person relying in good faith on such instrument, notwithstanding (a) inconsistent provisions of the trust, unless said trust is recorded in said registry of deeds, with the place of recording referred to in some instrument in the chain of title to the real estate affected, (b) any amendment, revocation, removal or resignation of trustee, appointment of additional trustee, or other matter affecting the trust, unless the same is recorded in said registry of deeds and noted on the margin of said trust in said registry, or (c) any inadequacy in the consideration recited. As used in this section the term ''trust'' shall not include a trust under a will.