To differentiate events between those coming from locally uploaded and remotely fetched .ics files, we must look up the locally uploaded ones with a filter of "recurrence_id=0".