Fix an exception when the user's unread_dmail_count is nonzero but they don't have any unread dmails. This normally shouldn't happen unless the unread_dmail_count is inconsistent.