Datacollector removes the xml tag from the query