Fix people loop bug.