Fixed _intersects function.