Your XPath should read:
[Module.ContactPerson_Customer = $Customer]
[not (Module.ContactPerson_ Settings = $Customer/Module.Customer_Settings)]
Or you could go with
XPath Object contactperson
[module.contactperson_customer = $Customer
and module.contactpersonen_settings/module.settings/module.customer_settings != $customer]
Thanks for the answers but both fail in my case. I added
or not (module.contactpersonen_settings/module.settings)
to Pieter's solution in the case no settings exist. But this gives to much 'false' returns.