    :parent-collection collection
    :parent-id id})
 
-(defn- meta-close-all-features [features]
-  "{:action :close-all :dataset _ :collection _ :parent-collection _ :parent-id _ :end-time _"
+(defn- meta-close-childs [features]
+  "{:action :close-childs :dataset _ :collection _ :parent-collection _ :parent-id _ :end-time _"
   (let [grouped (group-by #(select-keys % [:dataset :collection :parent-collection :parent-id :validity]) features)]
     (letfn [(meta [dataset collection parent-collection parent-id validity]
-              {:action :close-all
+              {:action :close-childs
                :dataset dataset
                :collection collection
                :parent-collection parent-collection

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

(defn- close-all* [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)]

                              :current-validity validity
                              :validity end-time}))))

(defn- close-nested-childs-meta [persistence dataset parent-collection parent-id end-time]
  (let [nested (pers/childs persistence dataset parent-collection parent-id)
        metas (map (fn [[col id]] {:dataset dataset
                                  :collection col
