No indictment shall be quashed, set aside or dismissed for any 1 or more of the following defects: (First) That there is a misjoinder of the parties accused; (Second) That there is a misjoinder of the offenses charged in the indictment, or duplicity therein; (Third) That any uncertainty exists therein. If the court be of the opinion that the first and second defects or either of them exist in any indictment, it may sever such indictment into separate indictments or informations or into separate counts as shall be proper. If the court be of the opinion that the third defect exists in any indictment, it may order that the indictment be amended to cure such defect.