Adding maxDate today to Condition.
Merge remote-tracking branch 'origin/master' into base