diff -ur a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,9 @@
 {
   "name": "drupal/views_dependent_filters",
+  "description": "A Drupal module that provides dependent filters for views.",
   "require": {
     "drupal/core": "^8.8 || ^9 || ^10 || ^11"
   },
-  "type": "drupal-module"
+  "type": "drupal-module",
+  "license": "proprietary"
 }
diff -ur a/src/Plugin/views/filter/ViewsDependentFilter.php b/src/Plugin/views/filter/ViewsDependentFilter.php
--- a/src/Plugin/views/filter/ViewsDependentFilter.php
+++ b/src/Plugin/views/filter/ViewsDependentFilter.php
@@ -327,7 +327,6 @@
     // Add our settings to the form state as an array, as we need to account
     // for the possibility that more than one copy of this handler may be
     // playing at once!
-    $form_state->dependent_exposed_filters[] = $dependency_info;
     $dependent_exposed_filters = $form_state->get('dependent_exposed_filters') ?? [];
     $dependent_exposed_filters[] = $dependency_info;
     $form_state->set('dependent_exposed_filters', $dependent_exposed_filters);
diff -ur a/views_dependent_filters.module b/views_dependent_filters.module
--- a/views_dependent_filters.module
+++ b/views_dependent_filters.module
@@ -38,7 +38,7 @@
 function views_dependent_filters_exposed_form_after_build($form, FormStateInterface $form_state) {
   // We may have multiple dependency info arrays from more than one copies
   // of the views_dependent_filters_handler_filter_dependent handler.
-  foreach ($form_state->dependent_exposed_filters as $dependency_info) {
+  foreach ($form_state->get('dependent_exposed_filters') as $dependency_info) {
     $form_dependency = [];
     foreach ($dependency_info['controllers'] as $filter_id => $controller_values) {
       if (array_key_exists($filter_id, $dependency_info['identifiers'])) {
