Adds a check to TreeItemObserver#_itemDidChange for the key values before asking to observe them. Fixes #1125, possibly even correctly.