Fix an error when the given player id is not an ObjectId value