Pagination object is iterable
fix for multicolumn primaryked