Modified paginator helper