Delete task fix