Minor fixes

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