Fix small bug with dangling notifies