Added date comparisons for dao objects