Add case when tree is empty (before populating it).