Minor nullreference fix for datatypes
Merge pull request #10 from lars-erik/datatype.sync.errors

Minor nullreference fix for datatypes