 				group_member, preferred_agent_name
 			where
 				group_member.GROUP_AGENT_ID=preferred_agent_name.agent_id and
-				MEMBER_AGENT_ID=#agent_id#
+				MEMBER_AGENT_ID=#val(agent_id)#
 			order by agent_name
 		</cfquery>
 		<cfif group_member.recordcount gt 0>

		</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:

			where
				collector.collection_object_id = cataloged_item.collection_object_id AND
				cataloged_item.collection_id = collection.collection_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,
