Get cases and clean cases list in CommCareCaseGroup