Improved repository management.

Repository management commands now operate on visible scores only.

Put another way, repository management commands are now sensitive to user view
preferences.