Delete > Delete Null Nodes
 
 
 

Deletes any nodes with no objects under them.