Allow updating with nullable - including empty string - dates.

When a resource is fetched with a date value set to null or undefined, it appropriately does not attempt to coerce the value into a date.

However, when the value is an empty string, no such luck. This change prevents casting of date values when they're falsy.