Fixing delete task sessions