Fixed some logic bugs... I know there are still some debug statements in the code, I'll remove them when it's finished.
Fixed some logic bugs... I know there are still some debug statements in the
code, I'll remove them when it's finished.

svn path=/trunk/kdepim/; revision=352036

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