(5) All conveyances of real property to a partner from a partnership which property was conveyed to the partnership after July 1, 1986, are taxable if:
(a) The partner receiving the real property from the partnership is a partner other than the partner who conveyed the real property to the partnership; or
(b) The partner receiving the real property from the partnership is the partner who conveyed the real property to the partnership and there is a mortgage debt or other debt secured by such real property for which the partner was not personally liable prior to conveying the real property to the partnership.
For purposes of this subsection, the value of the consideration paid for the conveyance of the real property to the partner from the partnership includes, but is not limited to, the amount of any outstanding mortgage debt or other debt which the partner pays or agrees to pay in exchange for the real property, regardless of whether the partner was personally liable for the debts of the partnership prior to the conveyance to the partner from the partnership.