Fixed pager bug with first and last links.