Don't crash the server if all items already have the desired flags.
Don't crash the server if all items already have the desired flags.

This case subsequently hits an assert in the query builder for an empty
IN condition.

kolab-groupware/akonadi,kolab-groupware/akonadi,kolab-groupware/akonadi,kolab-groupware/akonadi