Fix for new test test1524_secondaryTeam1:
 * more reliably detect enclosing team vs. sibling top-level type.
1 file changed