fix: dir chooser shows multiple checkboxes

* happened when directories without sub directories where clicked