I don't see any test that event_id values match the keys of color if provided.

Also I would expect meaninful warning messages if an event exists but if it is not in event_id

It's likely to be a bug in find_events