Fixing crash in delivery of 'clear' notification