fix missing queryGranularity in ArbitraryGranularitySpec