diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js
index 45eea2906eb5a20180fe9d3680a50b782673de85..0076d7250ef6f1e914418c7f141637e0502d4ecd 100644
--- a/js/bootstrap-collapse.js
+++ b/js/bootstrap-collapse.js
@@ -56,7 +56,7 @@
 
       dimension = this.dimension()
       scroll = $.camelCase(['scroll', dimension].join('-'))
-      actives = this.$parent && this.$parent.find('> .accordion-group > .in')
+      actives = this.$parent && this.$parent.find('.in')
 
       if (actives && actives.length) {
         hasData = actives.data('collapse')