Fixed ScanDirectory for Empty Folders and System Folders