fix deleted apps in lookup tool (bug 944010)
Merge pull request #1548 from ngokevin/lookupdeleted

fix deleted apps in lookup tool (bug 944010)