Re-arrange delete and erase for events