Fixed bug for direct messages.