Submitted by cmichel
DateTime.isValidMarketMaturity can be called with a maxMarketIndex < 10 but the inner DateTime.getTradedMarket(i) function will revert for any values i > 7.
The impact is that Valid maxMarketIndex values above 7 will break and return with an error.
Recommend that the upper bound on maxMarketIndex should be set to 7.
jeffywu (Notional) confirmed
