Correct nesting of <Sample> element.