pass query parameters includedeleted and includesuperseded to event toArray method