Repairing pagination for rest all tabs