Add utility function: chunk_user_queryset_for_ids.