support case sharing in case property autocomplete
prevent infinite recursion
Merge pull request #4677 from dimagi/autocomplete-case-sharing

Autocomplete case sharing