use self not cls
Merge pull request #4965 from dimagi/app_slug

Fix submit history report