The perils of collective intelligence