bugfix in archiveEvents
Merge pull request #15 from jcbnlsn/master

bugfix in archiveEvents