Tell single nodes from node collections by testing for .length property.
Don't push empty node collections to the scope array.