filter None from detail_ids
Merge pull request #4047 from dimagi/filternone

filter None from detail_ids