Fixed events occurring after device removal.