Fix pagination on profile page