fix behavior when child-case repeats are used with case sharing
Merge pull request #1129 from dimagi/subcase-repeat-case-sharing

fix behavior when child-case repeats are used with case sharing