Fixed possible error when saving with an invalid player.