anchor.diff:  		<cfquery name="maximum_query" username="#application.database.user#" password="#application.database.pass#" datasource="#application.database.source#">
   			SELECT MAX(#arguments.field#) AS maximum
   			FROM #from_clause#
  -			<cfif arguments.where IS NOT "">
  +			<cfif arguments.where IS NOT "" AND listFindNoCase(variables.column_list, "deleted_at") IS 0>
   				WHERE #preserveSingleQuotes(arguments.where)#
  +			<cfelseif arguments.where IS NOT "" AND listFindNoCase(variables.column_list, "deleted_at") IS NOT 0>
  +				WHERE #preserveSingleQuotes(arguments.where)# AND deleted_at IS NULL
  +			<cfelseif arguments.where IS "" AND listFindNoCase(variables.column_list, "deleted_at") IS NOT 0>
  +				WHERE deleted_at IS NULL
   			</cfif>
   		</cfquery>
   	
  
positive.code: 		<cfreturn local.new_object>
  	</cffunction>
  
  	<cffunction name="createPaginationWhereClause" returntype="struct" access="private" output="false">
  
  		<cfset var local = structNew()>
  
negative.code: 	
  		<cfset var local = structNew()>
  		
  		<cfif structKeyExists(arguments, "where") AND arguments.where IS NOT "" AND listFindNoCase(variables.column_list, "deleted_at") IS 0>
  			<cfset local.where_clause = arguments.where>
  		<cfelseif structKeyExists(arguments, "where") AND arguments.where IS NOT "" AND listFindNoCase(variables.column_list, "deleted_at") IS NOT 0>
  			<cfset local.where_clause = "#arguments.where# AND #variables.table_name#.deleted_at IS NULL">
  		<cfelseif listFindNoCase(variables.column_list, "deleted_at") IS NOT 0>
  			<cfset local.where_clause = "#variables.table_name#.deleted_at IS NULL">
  		<cfelse>
  			<cfset local.where_clause = "">
  		</cfif>
  