If upon the trial of such action, or at any time before the rendition of final judgment therein, it shall appear to the satisfaction of the court that a proper party who may still be brought in has been omitted, or that any party then entitled to answer has not yet appeared, or that for any other reason the trial or judgment should be delayed, or the judgment as ordered or entered be modified, the court may postpone the trial, or make such other or further order in the premises as shall be just, and if it be found that any indebtedness for which a lien is demanded be not then due, the same shall be allowed for the amount of its present worth.
SDCL 44-9-39