I have a map with multiple group layers, and I'm trying to style my group layer headings a certain way, using the esriLegendGroupLayer css class. When the legend renders, the first group layer title heading doesn't have the group layer style, but the other group layer headings do.
Looking at the HTML, I noticed that the first _group div doesn't have the esriLegendGroupLayer class, but all the other ones do.