fixed a race condition that could result in a node getting added but the manager never receiving its state changed event.