Set minimumDate and maximumDate date to nil if allowOldDates and allowFutureDates are set to true.
Merge pull request #37 from manishval/master

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