Fix broken paging

Fixes #326

Signed-off-by: Ryan O'Hara <oharar@email.chop.edu>