You're right, i don't know what I was thinking when doing it, it could be implemented as:
```python
limited_formats = []
for f in formats:
    limited_formats.append(f)
    if f['format_id'] == format_limit:
        break
```
Should I add it, remove it or wait untill you have merged it?