When a Group is deleted, all Flows that reference the deleted Group should
also be deleted (automatically). Flows that reference a Group via Write
Actions are not found by the function ofpacts_output_to_group and are
therefore not deleted.
Testing: I only tested that the patch fixed the described
This patch looks good, though it looks like the general issue with
examining the Actions within a Write Actions instruction has several
instances beyond what is addressed by this patch.
I have noticed that an invalid Group ID within Write Actions is not caught
(Flow is programmed with no error)