No rows to display issue

Add in check for no rows, pager will not be displayed.