Fixed a bug where pageToken was set to 'null' as a string, making the video gateway bug