Fixed paging issue

Recursion bug in paging logic =/