Adding date/datetime earliest/latestValue constraints