The indexOfLastRecord element cannot have "xsi:nil" as an attribute.
The indexOfLastRecord element in XML instance can be substituted with other elements.
XML Instance
This type denotes the index of the last returned notification record in the given list of records