Fixed a bug with Pager.