Repeating Calendar Entries problem

Hi,

I managed to create repeating calendar entries programmatically from within my application. Everything looks as it should, however when I try to modify/delete the entry (and choose “All Instances”) it appears the there is no real repeating entry, but a number of separate entries.

Any ideas on how to link these separate entries as to become a real repeating calendar entry?