The militia forces shall in all cases, except treason, felony or breach of the peace, be privileged from arrest during their attendance at musters, parades and elections of officers, and in going to and returning from the same.