Only notify when changed key path is really sub path of observed path

Closes #3775