restrict report max query size