The behavior is the same if you try in the UI - in fact if you search for contacts by customer, don't include the role filter and include the role as a result column, if a contact is associated with more than one customer it will show up multiple times in the results.