Added correct index on pagination.

Signed-off-by: webmaster@wannasub.it <asdf@wannasub.it>