 					flat.collection_object_id=coll_object_encumbrance.collection_object_id (+) AND
 					coll_object_encumbrance.encumbrance_id = encumbrance.encumbrance_id (+) AND
 					flat.collection_object_id IN (
-						<cfif len(table_name) gt 0>
-							(select collection_object_id from #table_name#)
-						<cfelse>
-							( #collection_object_id# )
-						</cfif>
+						select collection_object_id from #table_name#
 					)
 				ORDER BY
 					flat.collection_object_id

	<cfoutput>
		<cfset title = "Search for specimens or encumbrances">
		<p>
			<cfif len(table_name) gt 0 or len(collection_object_id) gt 0>
				Now find an encumbrance to apply to or remove from the specimens below. If you need a new encumbrance, create it
				first then come back here.
			<cfelse>

</cfif>
<!-------------------------------------------------------------------------------------------->
<!-------------------------------------------------------------------------------------------->
<cfif len(table_name) gt 0>

	<Cfset title = "Encumber these specimens">
		<cfoutput>
