Fix bug where delegatee would be lost on task/event update (#5058)
Summary: Fixes #5058
Reviewers: Roundcube Kolab Plugins Developers, vanmeeuwen
Reviewed By: Roundcube Kolab Plugins Developers, vanmeeuwen
Differential Revision: https://git.kolab.org/D110