Exclude empty trees