Minor fixes

- Fixing `data.set()` to set record properties that Functions
- Fixing a regression in `data.set()` when passing an index