Set minimumDate and maximumDate date to nil if allowOldDates and allowFutureDates are set to true.