[bug 849528] Fix check for message.recipient.