Fixed a bug where the pager was not working.