NPE when writing Log parcel

Check for null date before writing parcel

fixes #89