Bugfixes inside class.dirlist.php