Fix for wrong ratings in team matches