• Fix crash when deleting activities.