fix case export bug when cases owned by groups