filter None from detail_ids

http://manage.dimagi.com/default.asp?129063
This will filter more than just `None`.
```python
>>> list(filter(None, [False, True, None, 0, []]))
[True]
```
Is that what you wanted?