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