Don't show scope groups for groups not requested

If the filtered scopes (requested scopes) for a particular
scope group is empty, don't show the scope group `<li>`
and `<h2>` tags (don't show the group at all, really).