Prevent Events deletion when deleting foreign keys