Bug nested notify

Fixes a deadlock introduced when race conditions were avoided in context-notify-posthoc.