Fixed bug with team matching in matcher.py