Fixed Bug when deleting subfolders