Fixed a bug where deleting an Event linked to a Calendar event would crash the app