Make sure parent nodes get updated when a listener is deleted.