Remove abuse of ToIDs helper in EventLog.by_company scope