Fixes #4702: Only include selected repositories in UI when filtering for...

... content view.