* Fix crash when importing events and also when syncing legacy events