As schwarzer pointed out (here D1471) we have some misleading if statement indentations. This diff should fix the situation.
Tested firing up Disk Usage window on folder with subfolders and files.
Tested to work as expected.
Thanks!
Thanks for testing! Pushed.