 			where
 				collector.collection_object_id = cataloged_item.collection_object_id AND
 				cataloged_item.collection_id = collection.collection_id AND
-				agent_id=#agent_id# and
+				agent_id=##val(agent_id)# and
 				cataloged_item.collection_object_id not in (
 					select coll_object_encumbrance.collection_object_id from
 						coll_object_encumbrance,

		</cfif>
		<cfif agent.agent_type is "group">
			<cfquery name="grpagnt" datasource="uam_god" cachedwithin="#createtimespan(0,0,60,0)#">
				select MEMBER_AGENT_ID,getPreferredAgentName(MEMBER_AGENT_ID) name from group_member where GROUP_AGENT_ID=#agent_id#
			</cfquery>
			<p>
				Group Members:

				publication_agent
			where
				publication.publication_id=publication_agent.publication_id and
				publication_agent.agent_id=#val(agent_id)#
			group by
				publication.PUBLICATION_ID,
				full_citation,
