Fixes leagueid to league_id (in database) for fetching matches.