Update History distinct method to uniquify workflowexecution events