Fix issue when two XmlLists are one after another.