fix case export bug when cases owned by groups
Merge pull request #1603 from dimagi/cz

fix case export bug when cases owned by groups