Fixed XmlProvider SampleIsList not working correctly

This has been wrong since ever, and there wasn't a test