Fixed pagination

+ Fixed it better (because I didn’t actually fix it and made it worse)