Fix problem with multiple xml child nodes