This article discusses the unpredictability of determining whether the rules of offset or the rules of priorities will prevail in a situation, and goes into the question of whether attorneys’ fees will be given priority over other claims when those fees are contractual and do not relate back. The article concerns a California decision which held that a lis pendens did not give purchasers superpriority over competing liens.
Bernhardt, Roger, "Attorneys Fees, Offsets and Priorities" (2007). Publications. 253.