 						
 						if (simpleGeomIsPoly)// a polygon, check for polygon overlap
 						{
-							if (ComputationalGeometryUtils.polygonOverlapsPolygon(_tempBoundsPolygon, _tempGeometryPolygon))
+							if (ComputationalGeometryUtils.polygonOverlapsPolygon(_tempBoundsPolygon, vertices))
 							{
 								result.push(key);
 								continue keyLoop;

							}
							else if (genGeomIsLine)
							{
								if (ComputationalGeometryUtils.polygonOverlapsLine(_tempBoundsPolygon, part[0].x, part[0].y, part[1].x, part[1].y))
								{
									result.push(key);
									continue keyLoop;

								}
								else if (simpleGeomIsLine)
								{
									distanceSq = getMinimumUnscaledDistanceFromPolyLine(vertices, xQueryCenter, yQueryCenter);
									if (distanceSq <= Number.MIN_VALUE)
										overlapsQueryCenter = true;
									else
