How can I filter members according to WP user role

I'm banging my head against the wall with this one. I'm sure it's super easy, but I just can't find the right snippet to get it done.

So, I'm using Membership and Buddypress. Users sign up for a subscriptoin, which assigns them either the WP user role of "Family" or "Service".

Now, in the Buddypress membership directory page, I don't want "Family" WP user role users to be able to see other "Family" user role members. This would be pointless, because they only want to meet "Service" members.

Is there a way to filter the view of the Buddypress directory page so that members with a WP role of "Family" only see results with members that have the "Service" WP user role?

I'd love any feedback or help on this.