Harden REST taxonomy fetches against pagination truncation (#23219)