Fixed delete duplicate directory entries in filesystem.