Fix bugs in output group messaging.