If a bond provided for by any statute derived from the former Civil Code, or by the Rules of Civil Procedure be adjudged to be defective, a new and sufficient one may be executed in such reasonable time as the court may fix, with the same effect as if originally executed.