Fix Null Prevalue Values on Export of DataTypes

Exporting a DataType that has a Numeric pre-value that has no value
causes an Exception - added null checking to pre value.value