For this first patch, I'd even favor using only the first item of participants and add senderOrReceiver if it's not there.

So that we don't need to loop through the results array... which can be time consuming.

Also, I'll file a follow up to actually use this cursor properly..