Fix targets not being removed when disconnecting transients.
Fix wrong observer getting called when more than one observer is used.