diff --git a/src/components/db-editor/APIObjectDBEditor.vue b/src/components/db-editor/APIObjectDBEditor.vue
index d19e6baf31b8be53a0c4c839471149f614602334..042d75e9ce2c6ad2e5f4cad3d2f32801d00a1837 100644
--- a/src/components/db-editor/APIObjectDBEditor.vue
+++ b/src/components/db-editor/APIObjectDBEditor.vue
@@ -85,12 +85,13 @@ export default {
           new_params[e[0].split('_null')[0]] = '__NULL'
         } else {
           if (e[0] in new_params && this.object_definition.attributes[e[0]].data_type.endsWith('_array')) {
-            if (!Array.isArray(new_params[e[0]])) {
-              new_params[e[0]] = [new_params[e[0]]]
-            }
             new_params[e[0]].push(e[1])
           } else {
-            new_params[e[0]] = e[1]
+            if (this.object_definition.attributes[e[0]].data_type.endsWith('_array')) {
+              new_params[e[0]] = [e[1]]
+            } else {
+              new_params[e[0]] = e[1]
+            }
           }
         }
       }
diff --git a/src/components/db-editor/APIObjectDataEditFieldList.vue b/src/components/db-editor/APIObjectDataEditFieldList.vue
index 10cc6a776eee224998837205af792f5106cd9ce7..8fa2577a176c51dfbad78f68f751542e4744583a 100644
--- a/src/components/db-editor/APIObjectDataEditFieldList.vue
+++ b/src/components/db-editor/APIObjectDataEditFieldList.vue
@@ -40,7 +40,7 @@ export default {
   methods: {},
   data: function () {
     return {
-      true_values: this.attribute_preset
+      true_values: this.attribute_preset !== undefined ? this.attribute_preset : []
     }
   },
   watch: {