LPS-51513 Avoid NumberFormatException on date fields without a value