Minor bugfixing and debug entry for missing teams.