Fixed private messeage (query) detection.
Changing `is-global' parameter to `is-private' for memos.