change test_assign_bad_index_ref reference a soft-deleted case

rather than actually deleted case
Merge pull request #4040 from dimagi/test_assign_bad_index_ref

change test_assign_bad_index_ref reference a soft-deleted case