Fixed off-by-one error in offset for identity read