Fixed an issue with multi-column paging and added some tests.