Collapse: Use $.fn.children instead of `>` in selector

Fixes #15131.
Filed http://openradar.appspot.com/18987206

Refs #9774