Fixes #7213 Collapse plugin does not correctly set the "collapsed" class on accordion heading links