Create snapshots from records
Fix bug with vanilla index