fix: uses batch statements instead of IN when deleting edges