Fix delete confirmation in queue and history