Fixed a problem when we get a date field for a tag value.