doesn't it?  can we try putting in the iteration as:

```python
calculation.restart_if_has_pending(dataset, [c for c in calculations if c != calculation])