That seems to work as expected. The problematic ones are when only a directory with subdirectories (for me, usually several levels) and files in some directories.
OK, but there must be some particular directory that causes the problem, because generaly it works. Please find it and let me know what is specific about it.