           if $repeater.length > 0
               inRepeater = true
           if rule.conditions.length > 1
-            self.checkConditionsAndHideShow(rule.conditions, ancestorId, $ruleContainer, $ruleContainer, inRepeater, matchType)
+            self.checkConditionsAndHideShow(rule.conditions, ancestorId, $ruleContainer, $ruleContainer, inRepeater, matchType, rule)
           else if rule.type == "Hanuman::VisibilityRule"
             self.hideShowQuestions(hideQuestions, ancestorId, $ruleContainer, $ruleContainer, inRepeater)
 



  setLookupValue: (value, $ruleElement) ->
    answerType = $ruleElement.data('element-type') 
    
    switch answerType
      when 'radio'
        $ruleElement.find('input[type="radio"][value="' + value + '"]').prop("checked", true)
      
      when 'checkbox'
        $ruleElement.find('input[type="checkbox"]').prop("checked", true)
      
      when 'checkboxes'
        selectedOptions = value.split(",")
        $ruleElement.find('input[type="checkbox"]').each -> 
          if selectedOptions.indexOf($(this).attr('value')) != -1
            $(this).prop("checked", true)

      when 'chosenmultiselect'
        selectedOptions = value.split(",")
        $ruleElement.find('input[type="select"]').val(selectedOptions).trigger('chosen:updated');
      
      when 'chosenselect'
        $ruleElement.find('input[type="select"]').val(value).trigger('chosen:updated');


          #$container = $(this).closest(".form-container-repeater")
          $container = $ruleElement
          rules = $.parseJSON($ruleElement.attr("data-rule"))
          $(rules).each ->
            rule = this
            matchType = rule.match_type
            questionId = $triggerElement.closest('.form-container-entry-item').attr('data-question-id')
