- Patch #7161 by jhriggs: fixed probem with 'last page' link not being correct under certain circumstances.