71-3-306. Preferred claims -- no dismissal of original action without consent. Persons having the preferred claims mentioned in this part are entitled to a lien upon the property attached or levied upon, and if said claims are not disputed or if a judgment is recovered for the same, the officer must pay such claims out of the property, and the original action cannot be dismissed without the consent of the owners of such preferred claims.