show scopes even if no results are found

When using filters, the previous behavior was to hide all scopes. This
is counterintuitive, as a different scope from the current one may have
results for the selected filter, and ends up confusing the user.
Merge pull request #1804 from Daxter/559-show-scopes-if-no-result

[559] Show scopes if no results are found