Correct the min / max date methods
Use the minimum and maximum dates