If a defect, error, or irregularity is discovered in any indictment or information which, on motion of either party, causes the indictment or information to be dismissed or the prosecution to be set aside or reversed on appeal, a new indictment or information may be found within thirty days after such action notwithstanding the time limitations enumerated in this chapter.
Iowa Code § 802.9
2021 Acts, ch 76, §147