should also have been in this if detail: branch because they also load the objects from ZODB.
For the records, this change was incomplete. The two lines from above:
```python
movement = brain.getObject()
transaction = movement.getParentValue()
```
should also have been in this `if detail:` branch because they also load the objects from ZODB.