}\r
\r
// make sure that we don't include an event twice (useful for ToDos that might come up twice)\r
- if (eventIds[entry.id] == 1) {\r
+ if (eventIds[entry.id] == 1 && entry.Type == 'ToDo') {\r
console.info('skipped (already included) ' + entry.id);\r
counter--;\r
continue;\r
}\r
\r
// make sure that we don't include an event twice (useful for ToDos that might come up twice)\r
- if (eventIds[entry.id] == 1) {\r
+ if (eventIds[entry.id] == 1 && entry.Type == 'ToDo') {\r
console.info('skipped (already included) ' + entry.id);\r
counter--;\r
continue;\r