Fix removePlayer logic