fixed case where loca table is indexed in long format
Merge pull request #1 from nirajp/master

fixed case where loca table is indexed in long format, thank you, Niraj Patkar :-)