       ticket_ids: ticket_ids
     )
 
-  @buildValue: (elementFull, elementRow, groupAndAttribute, elements, value) ->
+  @buildValue: (elementFull, elementRow, groupAndAttribute, elements, value, operator) ->
 
     # do nothing if item already exists
     name = "condition::#{groupAndAttribute}::value"
     return if elementRow.find("[name=\"#{name}\"]").get(0)
+    return if elementRow.find("[data-name=\"#{name}\"]").get(0)
 
     # build new item
     attributeConfig = elements[groupAndAttribute]

    elementRow.find('.js-value').html(item)

  @buildAttributeSelector: (groups, elements) ->
    selection = $('<input type="hidden" name="condition::attribute"><select class="form-control"></select>')
    for groupKey, groupMeta of groups
      displayName = App.i18n.translateInline(groupMeta.name)
      selection.closest('select').append("<optgroup label=\"#{displayName}\" class=\"js-#{groupKey}\"></optgroup>")

    elementFull.find('.js-attributeSelector select').each(->
      keyLocal = $(@).val()
      elementFull.find('.js-attributeSelector select option[value="' + keyLocal + '"]').attr('disabled', true)
    )

    # disable - if we only have one attribute
