           :nested-new (process-nested-new-feature processor vf)
           :nested-change (process-nested-new-feature processor vf)
           :nested-close  (process-nested-close-feature processor vf)
-          :close-all (close-all processor vf);; should save this too... So we can backtrack actions. Right?
+          :close-childs (close-childs processor vf);; should save this too... So we can backtrack actions. Right?
           :delete-childs (delete-childs processor vf)
           (make-invalid vf (str "Unknown action:" (:action vf))))]
     processed))

                                  :end-time end-time}) nested)]
    metas))

(defn- close-all [processor meta-record]
  (let [{:keys [dataset collection parent-collection parent-id end-time]} meta-record
        persistence (:persistence processor)
        ids (pers/childs persistence dataset parent-collection parent-id collection)
        nested-metas (mapcat #(close-nested-meta persistence dataset collection % end-time) ids)
        closed-nesteds (doall (mapcat #(close-all processor %) nested-metas))
        closed (doall (mapcat #(close-all* processor dataset collection % end-time) ids))]
    (concat closed-nesteds closed)))

(defn- delete-child* [processor dataset collection id]

        collected (assoc no-attributes :attributes collected)]
    collected))

(defn- close-childs* [processor dataset collection id end-time]
  (let [persistence (:persistence processor)
        validity (pers/current-validity persistence dataset collection id)
        state (pers/last-action persistence dataset collection id)]
