[Bug 223675] Removing a package from a pattern deselects all packages from it