 				citation CITED_NAME_CITATION, identification CitTaxa">
 				<cfset basWhere = "#basWhere# AND publication.publication_id = CITED_NAME_CITATION.publication_id (+)
 					AND CITED_NAME_CITATION.identification_id = CitTaxa.identification_id (+)
-					AND upper(CitTaxa.scientific_name) LIKE '%#ucase(cited_Sci_Name)#%'">
+					AND upper(CitTaxa.scientific_name) LIKE '%#trim(ucase(cited_Sci_Name))#%'">
 		</cfif>
 		<cfif isdefined("proj_pub_remark") AND len(proj_pub_remark) gt 0>
 			<cfset go="yes">
-			<cfset basWhere = "#basWhere# AND upper(PUBLICATION_REMARKS) like '%#escapeQuotes(ucase(proj_pub_remark))#%'">
+			<cfset basWhere = "#basWhere# AND upper(PUBLICATION_REMARKS) like '%#trim(escapeQuotes(ucase(proj_pub_remark)))#%'">
 		</cfif>
 		<cfif go is "no">
 			<cfset basWhere = "#basWhere# AND 1=2">

				AND CURRENT_NAME_CITATION.collection_object_id = ci_current.collection_object_id (+)
				AND ci_current.collection_object_id = catItemTaxa.collection_object_id
				AND catItemTaxa.accepted_id_fg = 1
				AND upper(catItemTaxa.scientific_name) LIKE '%#ucase(current_Sci_Name)#%'">
		</cfif>
		<cfif isdefined("cited_Sci_Name") AND len(cited_Sci_Name) gt 0>
			<cfset go="yes">

			<cfset go="yes">
		</cfif>
		<cfif isdefined("p_title") AND len(#p_title#) gt 0>
			<cfset basWhere = "#basWhere# AND UPPER(regexp_replace(publication.full_citation,'<[^>]*>')) LIKE '%#trim(ucase(escapeQuotes(p_title)))#%'">
			<cfset go="yes">
		</cfif>
		<cfif isdefined("agent_role") AND len(agent_role) gt 0>
