Fix agenda pager, it was always showing page 1