Fix function mixup due to copypaste:
- Caught by the unit tests! Nice.