+ hot-fix group legends in legend tree
Merge pull request #550 from amikryukov/hot-fix-legends

hot-fix: group legends in legend tree