Fixed bug for scenerio when ReplayToAddress isn't self closing tag and has new line