Fixing ban util to throw exception if the player is invalid