Good point. I'm sure there is a better way to do this, but you could always take the brute-force approach.
1. Get a list of node_id's as you would normally.
2. Get the object_id for each of the node_id's and put it into an array. 3. Use the unique operator to filter out the duplicates.
From there you should be able to loop through the array and display the items you want.