If, within thirty days after the same is rejected, the party owning said claim does not prosecute his action against the assignee in a court of competent jurisdiction, a recovery upon said claim or demand shall be forever barred. If the plaintiff's cause of action be dismissed at the instance of the defendant other than on its merits, the plaintiff shall have thirty days from the date of such dismissal to bring a new suit.
NMS § 56-9-32