           (condp = (:action feature)
             :new (process-new-feature processor flat-feature)
             :change (process-change-feature processor flat-feature)
+            :close-all nil
             (str "Cannot process: " flat-feature))))))
 
 (defn shutdown [{:keys [persistence projectors]}]

                  (assoc! :dataset dataset)
                  (assoc! :parent-collection collection)
                  (assoc! :parent-id id)
                  (assoc! :action action)
                  (assoc! :id child-id)
                  (assoc! :validity validity)
                  (assoc! :collection (str collection "$" (name child-collection-key))))]

        no-attributes (select-keys feature pdok-fields)]
    (assoc no-attributes :attributes collected)))

(defn process [processor feature]
  "Processes feature event. Returns nil or error reason"
  (let [flat-feature (flatten (collected-attributes feature))]
