Fixed up the pagerfanta adapter