Fixed issue with wrong date parsed when the value in XML is empty