Fix for issue with empty strings in xml nodes.