Change query limit to 1000