Fix pagination on the /pastes page.