Fix pagination and sort of nodes/users pages