Filter/prune empty list branches

Older relevant topic: Ability to hide empty groups