Fixed bug in nnindexer where wrong set of vectors were indexed