Fixed 'method not found' exception when deleting events