Fixed inode indexing bug