Can people_map contain more than 1 result? (you used == 1 in group.py)