Fixed crash if a NSDate field is null.