Fixed a bug that caused top-level date fields to be overwritten when hydrating objects.