Query tool now checks db for limit on packages.