next(n) and previous(n) now correctly stops on maxDate and minDate when n > 1