Fix #520
Ensure that if there's only a single page of records, only a single pageLink is displayed