Multiple triangles check fixed