Implement a workaround for omitting multiple history entries of one URL, sort of fixing Emdek/otter#338