Update for issue 41: Remove pagination when there is only one page.