Set comm_id in metadata correctly.