There is no execution context for VOID actions. This is not a supported user event context. When a transation is voided, scripts that run on EDIT action may be triggered on a VOID action, and may not behave as expected for the VOID action. You should include conditional statements in scripts that will run in EDIT mode to filter out transactions where the memo field is Void or Voided and check for the voided field.