Fix pagination in simple demo