Fix pagination parameter parsing

Parameters were parsed as string instead of int. This
resulted in a 410 error.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>