An indictment must not be held insufficient, nor can the trial, judgment or other proceedings thereon be affected by reason of any defect or imperfection in any matter of form which does not prejudice the substantial rights of the defendant on the trial.