I cannot replicate.
I called the URL https://api.twitch.tv/helix/videos?user_id=31723226 a handful of times and got 20 records each time.
Are you saying on page one you get 20 and page two you get less than 20, and then call page three and get more results?