Index delayed tasks by unique key

Until then, tasks delayed at the exact same time were overridden, because it was used as a key.