fix missing instances for cloudcare case filtering
Merge pull request #3741 from dimagi/cloudcare-filter

fix missing instances for cloudcare case filtering