Fix broken Pagination#renderCollection method