don't fail on bad case indexes
Merge pull request #4980 from dimagi/bad-index

don't fail when indexing missing cases