Does this commit solve the problem? https://quickgit.kde.org/?p=baloo.git&a=commit&h=8258e544477ead37aea655eb0b7733f3ecaa93c9