A minor bug ...
I've created a master definition for Libertadores cup, similar to UEFA CL (europe_champ_league or something like that). So I can use the same one in all the south-american leagues.
So for example I have, for choosing teams:
So the first part of this code selects the first three from the country league, whichever it is (could be Peru for example). But then, so other countries can use it too I have to add a line for the Peru definition, hence the second part of the code.
Here's the problem: The table for peru1 highlights the first 6, not the first three, as it should be. Problem goes away if I don't use start_idx, end_idx but then sometimes that results in the very unlikely event of low ranked teams going through. I can also do star_idx=1, end_idx=3 but then you have the same teams from each country over and over every season.