diff --git a/src/components/Dropdown.vue b/src/components/Dropdown.vue
index ac43aac3ff4c4709e3bf5087d3bc1d657a6fcfd5..4f12b46ee97f19a36f38783b3da29953c4f4fb06 100644
--- a/src/components/Dropdown.vue
+++ b/src/components/Dropdown.vue
@@ -112,7 +112,7 @@ export default {
       setTimeout(() => {
         this.isOpen = false;
       }, 0);
-      if (index) this.$emit("update:selection", this.filteredOptions[index]);
+      if (this.filteredOptions) this.$emit("update:selection", this.filteredOptions[index]);
       this.input = "";
     },