Modified fix for bug#9497 - AgentTicketSearch logs a Uninitialized error message in Oracle.