(d) Which involves or may involve the validity or interpretation of a will, contract, deed, mortgage, bill of sale, note or other document which he prepared, in the preparation of which he assisted, or to the execution of which he acted as a witness.