Added limits to pager input