Use compound key to fix tasks with same time overwriting tasks in list