Fixed XML parsing of TimeSpan elements

Any XML option specifying a `TimeSpan` (`<stoptimeout>`, etc.) was ignored because the XML parsing code was looking in the wrong part of the document. This fix restores the functionality of the affected config options.