anchor.diff:  
               @destroy_multi_input(multi_input, selected_attribute.val())
   
  -          # Handle association columns with AJAX autocomplete
  -          if selected_attribute.data('ajax-url')
  -            if value_select2.length
  -              query_input.hide()
  -            else
  -              @setup_select2_association(query_input, selected_attribute)
  -
  -          # Handle fixed options - set up Select2 for single values if not already present
  -          if selected_attribute.data('select-options')
  -            if value_select2.length
  -              query_input.hide()
  -            else
  -              @setup_select2_options(query_input, selected_attribute)
  -
  -            return
  -
  -
  -      # Hide query input when not needed
  -      if p in ["true", "false", "blank", "present", "null", "not_null"]
  -        # If Select2 is on query input, remove and set defaults
  -        if Select2? && @element.find("#s2id_#{base_id}v_0_value").length
  -          query_input.select2('destroy')
  -          query_input.val('')
  -
  -        query_input.val("true")
  -        query_input.hide()
  -        query_input.parent().find('.ui-datepicker-trigger').hide()
  +          if p not in no_query_predicates
  +            query_input.show()
  +
  +            # Handle association columns with AJAX autocomplete
  +            if selected_attribute.data('ajax-url')
  +              if query_select2.length
  +                query_input.hide()
  +              else
  +                @setup_select2_association(query_input, selected_attribute)
  +
  +            # Handle fixed options - set up Select2 for single values if not already present
  +            if selected_attribute.data('select-options')
  +              if query_select2.length
  +                query_input.hide()
  +              else
  +                @setup_select2_options(query_input, selected_attribute)
  +
         # Otherwise, reset query input and show datepicker trigger if present
  -      else
  +      if p not in no_query_predicates
  +        return if selected_attribute.data('select-options')
  +
           # Don't show query input if ajax auto complete is present on selected attribute
           unless p in ['eq', 'not_eq'] and selected_attribute.data('ajax-url')
             unless query_input.is(":visible")
  
positive.code:           'style="width:' + (query_input.width() * 2) + 'px;" ' +
            'data-base-name="' + base_name + '" />'))
  
        value_select2_id = "#s2id_#{base_id}v_0_value"
        value_select2 = @element.find(value_select2_id)
  
        # Fetch all existing values
        inputs = @element.find("input[name^=\"#{base_name}\"]")
  
negative.code:       # Handle regular columns
        else
          if Select2?
            predicate_select2.select2("enable")
  
            # If Select2 is on query input, remove and set defaults
            if query_select2.length > 0
              query_input.select2('destroy')
              query_input.val('')
              previous_val = ''
  