See #27 - beforeEditEvent no longer falls over when event is null