Fix the tree with an error message when there is no snippets
Merge pull request #527 from priand/playground

Fix the tree with an error message when there is no snippets