Fix a problem with commands observing nested properties.
Fix the sample app following previous changes.