Fix bug where a player would not get added to the database.