The motion to set aside the indictment can be made by the defendant on one or more of the following grounds, and must be sustained:
(1) When any person, other than the grand jurors, was present before the grand jury when the question was taken upon the finding of the indictment, or when any person, other than the grand jurors, was present before the grand jury during the investigation of the charge, except as required or permitted by law;
(2) If the grand jury were not selected, drawn, summoned, impaneled, or sworn as prescribed by law.