Minor fixes

- Fixing `data.batch()` to respect `data.ignore`
- Fixing `data.batch()` to not change the `key` of the record when it's ignored or a leaf (will not be retrieved)