Can Competition Outperform Collaboration? The Role of Misbehaving Agents