The statutes of limitation which would otherwise apply to any mortgage or mortgage debt, or to any other cause of action under Sections 89-1-301 through 89-1-329, shall cease to run upon the filing of any legal pleadings in the aforesaid court; and the period during which the same be pending in court under Sections 89-1-301 through 89-1-329 shall be added to the period of statutory limitations which would apply to said debt or mortgage or other obligation in which the cause of action arose.