smartxml: fix ranges returned by unwrapContents