Fix for last page of results missing from array passed to success callback in paginated queries.