Fixed bug in dirs_read where wrong entry for deletions