Fixed issue where a row count equal to a multiple of the row limit would allow the next page button to appear but the next page was empty.