Bug 1084703 - Removing a repository that has filters assigned causes ISE.

Bug 1084703 - Removing a repository that has filters assigned causes ISE.