(elmo-folder-append-messages): Fix the problem that only the first flag is used.