Fix pagination. Page comes after /json