At the time and place for the hearing, the court shall find and determine whether the notice of the filing of the petition has been published. When the court has determined that it has jurisdiction to hear the petition, it shall proceed with the hearing and shall conduct the hearing as in the case of a trial of a civil action without a jury. The court shall examine into and determine the legality and validity of the proceedings and all matters affecting the legality or validity of proceedings for the issuance or payment of the evidence of indebtedness. The court shall disregard any error, irregularity, or omission which does not affect the substantial rights of the parties to the hearing. The court shall permit the petition to be amended so as to conform to the evidence and facts presented at the hearing.
21-02.1-06. Conclusion of hearing - Findings - Decree - Costs of hearing - Filing copies of findings. Upon the conclusion of the hearing the court shall determine the legality and validity of the proceedings for the issuance or payment of the evidence of indebtedness and shall determine the validity and legality of any other matter properly before the court. The court shall prepare its findings of fact and conclusions of law and shall order that the decree of the court be entered.