A court, on conviction of a person on indictment, shall have power to correct an error or defect in a notice of previous conviction relating to the person convicted, and accordingly after section 39(1)(e) of the Criminal Justice (Scotland) Act 1949 there shall be inserted .the following paragraph:—
“(ee)on the conviction of an accused, person, it shall be competent for a court to amend a notice of previous conviction so laid by deletion or alteration for the purpose of curing any error or defect therein :
Provided that no such amendment shall be made to the prejudice of the accused.”