Can you build this using the data in `workflow['status_details']` instead? It looks like:

```python
            'status_details': {
                'peer': {
                    'complete': False
                },
                'self': {
                    'complete': False
                }
            }
```

So something like:

```python
incomplete_steps = []
if not workflow['status_details']['peer']:
    incomplete_steps.append("Peer Assessment")
if not workflow['status_details']['self']:
    incomplete_steps.append("Self Assessment")
```
?