Bug fix for index.dat parsing