Use iterator on queryset deletion