Fix a few things for Pagination

Signed-off-by: Graham Campbell <graham@mineuk.com>