Backport r887691 by mueller from trunk to the 4.1 branch:
Backport r887691 by mueller from trunk to the 4.1 branch:

make sure that startPart is in range


svn path=/branches/KDE/4.1/kdepim/; revision=890884

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