fix for getModifiedChild() in InMemoryDataTreeCandidate