Quick fixes for a couple issues.

* Was failing to load objects, causing errors trying to access properties of them--made to check if the load was successful before using the result; and,
* Was using dc:title in the query, so multiple titles could cause an item to appear multiple times--changed to use the object label.