don't fail hard on get_related_cases when indexes reference bad ids