Fixes index corruption in batch inserter

Fixed error where data corruption occured if indexing node with multiple labels in multiple indexes using batch inserter.