Fixed problem where an exception was thrown on recurring todo events.

Signed-off-by: Michel <info@1st-setup.nl>