         attrib-condition (if (= "OR" operator)
                            (gc/or-conds conditions)
                            (gc/and-conds conditions))]
+    (raise-condition-errors conditions)
     (if (= :granule concept-type)
       ;; Granule attribute queries will inherit values from their parent collections.
       (gc/or-conds [attrib-condition (qm/->CollectionQueryCondition attrib-condition)])

  (let [attrib-name (cx/string-at-path additional-attribute [:additionalAttributeName])
        attrib-value (first (cx/content-at-path additional-attribute [:additionalAttributeValue]))]
    (attrib-value-element->condition attrib-name attrib-value)))

;; Converts additionalAttributes element into query condition, returns the converted condition
(defmethod a/element->condition :attribute

            [cmr.search.models.query :as qm]
            [cmr.search.models.group-query-conditions :as gc]
            [cmr.search.services.parameters.converters.attribute :as p]
            [cmr.search.services.messages.attribute-messages :as msg]
            [cmr.common.date-time-parser :as date-time-parser]
            [cmr.common.services.errors :as errors]))

(defn- attrib-value->condition
  [attrib-type attrib-name value]
