Well, the auto-kick was great, now you could erase the empty leagues.
For example, https://igpmanager.com/app/p=league&id=30559 this league is empty, even though the creator has recently entered it, it is in another league.
Just run a sql type of this "Delete * from leagues where id_league not in (select id_league from pilots_leagues)" and remove the link from the pilot statistic or put "deleted league 01 jan 2017 - 04 set 2017"