I think you want and `or` here, instead of an `and`.

```text
| pm | directed || run? |
|----|----------||------|
| 0  | 0        || 1    |
| 0  | 1        || 1    |
| 1  | 0        || 0    |
| 1  | 1        || 1    |
```