Fixed creating multimple history entries, resolves Emdek/otter#338
Merge pull request #2 from Hummer12007/master

Fixed creating multimple history entries, resolves Emdek/otter#338