Fix incorrect flag for message production.