Fixed an issue where the indices of multiple elements were not doing what they were supposed to do, in the XML extractor.