Fixes crash when deleting all contacts 'on-account-delete'