add better support for deleted apps/versions to commbadge (bug 1102973)