[new index structure] Bugfix for BTreeIndex.getDataType()