Fix #520

Ensure that only a single pageLink is rendered as a text box when pagingTextBox is enabled