Fixed a WebDAV-Sync problem.

This should fix CardDAV-Sync problems.