Fixed ArcGIS clear poly query bug