Fix events deletion.