Added an active scope in Event.
Added an active? property to check Event status.
Removed the dormant records when the parent item is deleted.