hotfix for submit history
Merge pull request #2409 from dimagi/submit-history-fix

hotfix for submit history