fix parent/child in the case list issue

Case:57084
Merge pull request #929 from dimagi/cz

fix parent/child in the case list issue