Datetime objects in values convert to sql Date() objects
Fixed repr() of Value objects, although not very efficient.