Fix crash on remove.
Fix crash on remove.

svn path=/trunk/KDE/kdepim/; revision=697247

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi