do not render group when there are no children
Merge pull request #1 from ZogStriP/do-not-group-when-there-are-no-children

do not render group when there are no children
Don't add children to the tree if they're shorter than one second.