Real fix for empty leaguesissue #48.