Fix bug affecting H.to with type: Date