Fix incorrect logcontexts after a Deferred was cancelled