Add optimized version for Riak lookup by index (by offset).
Fixed errors in the offset calculation.
Partically optimized last page request.