Search pages have no PID for the collection search. So check for the PID and
wrap the islandora_object_load in a try/catch.