Improved handling of the object manager in NotificationAgentTicketEscalation.pm.