Merge "Don't store invalid pkgs when migrating filters" into sc-qpr1-dev