Fixed bug in PaginationTransformer