Events cannot be edited when guest registrations were added

One-sentence description

Events cannot be edited when guest registrations were added

Current behaviour / Reproducing the bug

  1. Create an event and publish
  2. Add a guest registration
  3. Edit the event
  4. Crashes on the save of the push notification, the guest registration is null

Expected behaviour

The guest registration should be filtered out of the list of members when the event is saved.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information