Fix iteration over pagination using partial