basis.data.index: fix vector indexes