Fix issue causing table pagination to break when adding additional columns.