 			coll_obj_other_id_num.OTHER_ID_TYPE='UUID' and
 			coll_obj_other_id_num.COLLECTION_OBJECT_ID=flat.COLLECTION_OBJECT_ID and
 			coll_obj_other_id_num.DISPLAY_VALUE=cf_temp_attributes.other_id_number
+			<cfif len(collection) gt 0>
+				and flat.guid_prefix like '#collection#:%'
+			</cfif>
 	</cfquery>
 
 	<table border>

<cfinclude template="/includes/_header.cfm">
<cfif action is "findRecords">
<cfoutput>
	<cfquery name="cf_temp_specevent" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
		select
			cf_temp_specevent.KEY,

			coll_obj_other_id_num.OTHER_ID_TYPE='UUID' and
			coll_obj_other_id_num.COLLECTION_OBJECT_ID=flat.COLLECTION_OBJECT_ID and
			coll_obj_other_id_num.DISPLAY_VALUE=cf_temp_specevent.UUID
			<cfif len(collection) gt 0>
				and flat.guid_prefix like '#collection#:%'
			</cfif>
	</cfquery>
	<table border>
		<tr>
