Fix diagram (#9656)