This equitable action shall not apply to instances in which there is only one mechanic's lien claimed against the property and any of it, but in any suit thereon the court shall determine the respective priorities as between such mechanic's lien and any other lien or encumbrance and enforce the same accordingly.
§ 429.330, RSMo