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