Fix pagination error in one page app

Spenser Shumaker <sshumake@redhat.com>