The second screenshot with “1 3 Next” seems pretty hard to justify.
Taking care that such incongruent representations can’t happen even in the face of inconsistent backend caches is part of proper UI state management.