I subtract "1" to the offset to have the right result. Because if a user set offset at "5", the return will start at 6. I thought we had to start the return at 5. But if it is not the right use case, i can change it.