fix for issue where deleting an event from the calendar broke the UI of the calendar itself
[#79800100]