diff --git a/recurring_events.module b/recurring_events.module
index 174c4fdb8a2e65f9945f0181097b1e050c415e79..6b2b43ba4b723161ee0ca3a7100a14aa98434871 100644
--- a/recurring_events.module
+++ b/recurring_events.module
@@ -386,7 +386,7 @@ function recurring_events_eventseries_type_delete(EntityInterface $entity) {
   }
 
   if (\Drupal::moduleHandler()->moduleExists('recurring_events_registration')) {
-    $registrant_type = \Drupal::entityTypeManager()->getStorage('registrant_type')->load($id);
+    $registrant_type = \Drupal::entityTypeManager()->getStorage('registrant_type')->load($entity->id());
     if (!empty($registrant_type)) {
       $query = \Drupal::entityQuery('field_inheritance');
       $and_destination = $query->andConditionGroup()