Merge "Don't store invalid pkgs when migrating filters" into tm-qpr-dev