Table additional pages do not show data

Fixes #1276 and add test case.