Fixed getAllLeaguesForPlayer error