fix setseen logic in GetMessages

This should fix issue #86.