Bug corrected when datetime is deserialized from the netcdf variable.