well, usually, this shouldn't happen (it's only right now while testing).

What I do in catalogtree: I display a warning sign from font-awsome next to the text for such layers (using <i> tag with an ng-show directive)