Added a new constraint: date