Move default date workaround to dbobject, since it applies to non-metadata fields as well