Fixed moderated queue when app has been deleted (bug 1030991)
Merge pull request #2278 from robhudson/1030991

Fixed moderated queue when app has been deleted (bug 1030991)