Slight tangent but the thought has crossed my mind that (the potential of) retaliation by Iran could be a pretense for taking broad executive action which normally wouldn't be permitted, perhaps under the guise of securing the election. They may even do something which will be ruled illegal after the fact by courts, but it could take months after the election to reach a verdict and there's really no precedent in America for broadly declaring a federal election invalid.
To be clear I don't really expect this to happen but at this point I honestly wouldn't even be surprised.