Removing Empty Sub Layers.
Hi All. I've been all over the internet and haven't seemed to find my solution. Hoping someone on here has a solve.
I'm looking for a script that will delete not only empty layers but will identify and delete empty sub layers. I've found the script thats floating around that is called "DeleteEmptyLayers" but unfortunately it doesn't remove empty sublayers. In this pic it would be "Arrow 6" that needs to be deleted.
I get the sublayers every time I use a symbol then break the symbol then group that object with something else. It leaves behind an empty sublayer and cleaning those up by hand is becoming infuriating. Anyone out there have a fix? 
