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

Fixes #31