Make sure that null date, time and datetime fields are correctly loaded from the datastore. Fixes #109