Fix condition in _on_change_set method

If _on_change_set is called with a None value for a XXX2Many field, the test
designed to check for creations / updates raises an Exception because of
missing parenthesis.

issue4284
review10591002