fix bug in Query10 where months (for query params) were incremented incorrectly