When a defendant is acquitted on the merits of his case, and not on any ground stated in Section 99-11-29 such acquittal shall be a bar to any subsequent accusation for the same offense, notwithstanding any defect in the record, or in the form or substance of the indictment upon which such acquittal was had.
Miss. Code § 99-11-31