nth() returned the wrong record after a delete
Buffer::delete() removes rows without renumbering the keys, while nth() looked the record up as the first key plus n. After deleting the second of five records, nth(1) returned an empty array and nth(4) returned a record that was no longer at that position.
A positional index, as in ResultSet::nth()
nth() and nthAsObject() now find the record by its position in iteration order, so they agree with getRecords() and ResultSet::nth(). A test deletes a middle record and checks every position and the empty result past the end.