handle flattened investor_ids