             (let [batch (if (= :collection (cs/concept-id->type (:concept-id (first batch))))
                           ;; Get the tag associations as well.
                           (map (fn [concept]
-                                (let [tag-associations (mdb/get-tag-associations-for-collection concept)]
-                                  (assoc concept :tag-associations tag-associations)))
+                                 (let [tag-associations (mdb/get-tag-associations-for-collection concept)]
+                                   (assoc concept :tag-associations tag-associations)))
                                batch)
                           ;; Just use the concepts as is.
                           batch)

        (index-concept context concept parsed-concept options)
        (log-ingest-to-index-time concept)))))

(defn delete-concept
  "Delete the concept with the given id"
  [context concept-id revision-id options]
  ;; Assuming ingest will pass enough info for deletion
  ;; We should avoid making calls to metadata db to get the necessary info if possible

                {:term {(query-field->elastic-field :collection-concept-id :granule)
                        concept-id}}))))))))

(defmethod delete-concept :tag-association
  [context concept-id revision-id options]
  (let [concept (meta-db/get-concept context concept-id revision-id)]
    (index-concept context concept nil options)))

(defn force-delete-collection-revision
  "Removes a collection revision from the all revisions index"
  [context concept-id revision-id]
