Fix bug: caseIndex was broken.
Fix bug: caseIndex was broken.

An optimization gone awry.

[#84069882]

concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap