Fix error on failed XML cast for DNS servers.

Resolves issue reported on blog at http://blogs.msdn.com/b/windowsazure/archive/2013/05/24/automating-sharepoint-deployments-in-windows-azure-using-powershell.aspx where user reported that ReplaceChild wasn't working as resulted in an error.