workaround weird but rare error involving empty case_states (Case:62004)
Merge pull request #62 from dimagi/cz

workaround weird but rare error involving empty case_states (Case:62004)