backport SVN commit 894083 by winterz
backport SVN commit 894083 by winterz

Paweł's fix for making filtering work. Thanks!

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

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