Fixed bug with pager