Refix pagination. I swore I've already pushed this fix