Section 25. No indefinite reference in a recorded instrument shall subject any person not an immediate party thereto to any interest in real estate, legal or equitable, nor put any such person on inquiry with respect to such interest, nor be a cloud on or otherwise adversely affect the title of any such person acquiring the real estate under such recorded instrument if he is not otherwise subject to it or on notice of it. An indefinite reference means (1) a recital indicating directly or by implication that real estate may be subject to restrictions, easements, mortgages, encumbrances or other interests not created by instruments recorded in due course, (2) a recital or indication affecting a description of real estate which by excluding generally real estate previously conveyed or by being in general terms of a person’s right, title or interest, or for any other reason, can be construed to refer in a manner limiting the real estate described to any interest not created by instruments recorded in due course, (3) a description of a person as trustee or an indication that a person is acting as trustee, unless the instrument containing the description or indication either sets forth the terms of the trust or specifies a recorded instrument which sets forth its terms and the place in the public records where such instrument is recorded, and (4) any other reference to any interest in real estate, unless the instrument containing the reference either creates the interest referred to or specifies a recorded instrument by which the interest is created and the place in the public records where such instrument is recorded. No instrument shall be deemed recorded in due course unless so recorded in the registry of deeds for the county or district in which the real estate affected lies as to be indexed in the grantor index under the name of the owner of record of the real estate affected at the time of the recording. This section shall not apply to a reference to an instrument in a notice or statement permitted by law to be recorded instead of such instrument, nor to a reference to the secured obligation in a mortgage or other instrument appearing of record to be given as security, nor in any proceeding for enforcement of any warranty of title.