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