Fixing issues with syncing folders.