If compensation to a broker is due in installments and a portion of the compensation is due after the conveyance or transfer of the commercial real estate, any claim for a lien for installment payments due after the transfer or conveyance of such real estate may be recorded any time after the transfer or conveyance of the commercial real estate on behalf of a broker who represented the current owner of the real estate but must be recorded before the date on which the payment is due. Such lien shall be effective as a lien against the commercial real estate only to the extent moneys are still owed to the broker. A single claim for a lien recorded before the transfer or conveyance of the commercial real estate, claiming all moneys due under an installment payment agreement is not valid or enforceable to the extent of the payments due after the transfer or conveyance. The lien attaches for purposes of this paragraph when the claim for lien is recorded.
K.S.A. 58-30a06