Another iterator related bug. This caused some hangs too.
Another iterator related bug. This caused some hangs too.

CCBUG: 105153

svn path=/trunk/KDE/kdenetwork/kopete/; revision=426469

Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136