Fix a potential infinite loop when notifying observers

When setting a controller property having the form 'property.childProperty'
e.g. having a dot form, the if condition will incorrectly match all the observers. If
one of the observers calculates one of the observed fields the calls set,
the notification will be triggered endlessly.