Set minimum date properly.