Limit Histogram query size