If it appears that there are outstanding liens upon the property or a part of it and the persons holding the liens were not made parties to the action, the court may appoint a referee to ascertain whether or not those liens have been paid, and, if not paid, what amount remains due, and their order among the liens severally held by those persons and the parties to the action.
AS 09.45.350