Fix bug with ping pong rating calculation