Remove old paginate_array logic that was slowing things down