Removed old polygon query