What is causing the `AttributeError` here? Could this all just be replaced with something along the lines of:

```python
elif attrs['operator'] == 'exact' and hasattr(cleaned, 'label'):
    values = cleaned.label
````