Fix bugs browser item numbers in pagination.