fix setseen logic in GetMessages
Merge pull request #120 from filpen/issue86

fix setseen logic in GetMessages