I've done something similar by using the "drop the lowest" setting--but I see that wouldn't work since the groups complete different numbers of quizzes.
I don't understand why you have to include the empty grades especially if each group will not complete all of the quizzes.