don't fail when indexing missing cases

http://manage.dimagi.com/default.asp?147014

@czue @dannyroberts