The function that scans the destination folder also needs to be patched to list directories named 0 or null.