Fix for clearSharingFolder