No person shall use the privilege of filing notices hereunder for the purpose of slandering the title to land, and in any action brought for the purpose of quieting title to land, if the court shall find that any person has filed a claim for that reason, the court shall award the plaintiff all the costs of such action, including such attorneys' fees as the court may allow, and, in addition, shall decree that the defendant asserting such claim shall pay all damages that plaintiff may have sustained as the result of such notice of claim having been so filed of record.
K.S.A. 58-3410