Don't filter by app_id if it's null
Merge pull request #4183 from dimagi/submit-history

Don't filter by app_id if it's null